package day_240506;

// " == " 是判断，" = " 才是赋值
public class Test {
    public static void main(String[] args) {
        boolean x = true;
        boolean y = false;
        int b = 0;
        short z= 40;
        if ((z++ == 40) && (y = true)){
            z++;
        }
        if ((x = false) || (++z == 43)){
            z++;
        }
        System.out.println("z=" + z);
    }
}
